﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DrugStorehouseMIS.DAL.Interface;

namespace DrugStorehouseMIS.DAL.Interface
{
    public interface IStockInDetailDAL
    {
        IDataReader Select();

        IDataReader SelectByNum(string StockInNum);

        DataTable Select(string StockInNum);

        int Insert(string StockInNum, int DrugNum, string ProductedArea, DateTime Producteddatetime, DateTime ExpiryDatetime, float ImportPrice, string BatchNum, int Quantity, float Amount);

        int Update(string StockInNum, int DrugNum, string ProductedArea, DateTime Producteddatetime, DateTime ExpiryDatetime, float ImportPrice, string BatchNum, int Quantity, float Amount);

        //int Insert(string StockInNum, string DrugName, string Specifications, string MeasuringUnit, string ProductedArea, DateTime Producteddatetime, DateTime ExpiryDatetime, float TradePrice, float RetailPrice, float ImportPrice, string BatchNum, int Quantity, float Amount);

        //int Update(string StockInNum, string DrugName, string Specifications, string MeasuringUnit, string ProductedArea, DateTime Producteddatetime, DateTime ExpiryDatetime, float TradePrice, float RetailPrice, float ImportPrice, string BatchNum, int Quantity, float Amount);

        int Delete(string StockInNum,int DrugNum);

        //int Delete(string DrugNum);

        int Delete(string StockInNum);
    }
}
